<ul class="layui-timeline">
{if empty($list)}
    <li class="layui-timeline-item">
        <i class="layui-icon layui-timeline-axis layui-icon-fire"></i>
        <div class="layui-timeline-content layui-text">
            <h3 class="layui-timeline-title">无渠道</h3>
        </div>
    </li>
{else}
    {foreach $list as $k => $t}
    <li class="layui-timeline-item">
        <i class="layui-icon layui-timeline-axis {$k == 0 ? 'layui-icon-fire' : 'layui-icon-circle'}"></i>
        <div class="layui-timeline-content layui-text">
            <h3 class="layui-timeline-title">{$t.channel_name}</h3>
            <p>总价：{$t.total_price}</p>
            <p>时效：{$t.speed}天</p>
            <p>渠道类型：{$t.channel_type}</p>
        </div>
    </li>
    {/foreach}
{/if}
</ul>